//
//  CustomModdleButton.m
//  YunHaiManage
//
//  Created by zhangbolin on 2021/12/17.
//

#import "CustomModdleButton.h"

@implementation CustomModdleButton

- (CGRect)imageRectForContentRect:(CGRect)contentRect {
    return CGRectMake(self.bounds.size.width/2 - 20,
                      -3,
                      40,
                      40);
}

- (CGRect)titleRectForContentRect:(CGRect)contentRect {
    return CGRectMake(0,
                      35,
                      self.bounds.size.width,
                      24);
}

@end
